package com.gqz.equip.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "EnStockTaskOperateVo", description = "null vo��ͼ����")
public class EnStockTaskOperateVo implements Serializable {


    @SchemaProperty(name = "主键")
    private String id;

    @SchemaProperty(name = "任务编号")
    private String taskNo;

    @SchemaProperty(name = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "createTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @SchemaProperty(name = "操作时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "optTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date optTime;

    @SchemaProperty(name = "操作人")
    private String optPersonId;

    @SchemaProperty(name = "操作人")
    private String optPersonName;

    @SchemaProperty(name = "操作状态")
    private String optStatus;

    @SchemaProperty(name = "操作状态")
    private String optStatusName;

}
